<!DOCTYPE html>
<html>
<head>
<title>充值订单表</title>
<#include "/header.html">
</head>
<body>
<div id="rrapp" v-cloak>
	<div v-show="showList">
		<div class="grid-btn">

			<div class="form-group col-sm-2">
				<input type="text" class="form-control" v-model="q.userId" @keyup.enter="query" placeholder="用户id">
			</div>
			<a class="btn btn-default" @click="query">查询</a>

			<!--<#if shiro.hasPermission("rechargeorder:save")>-->
            <!--<a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>-->
			<!--</#if>-->
			<!--<#if shiro.hasPermission("rechargeorder:update")>-->
            <!--<a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>-->
			<!--</#if>-->
			<#if shiro.hasPermission("rechargeorder:delete")>
            <a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
			</#if>
		</div>
	    <table id="jqGrid"></table>
	    <div id="jqGridPager"></div>
    </div>
    
    <div v-show="!showList" class="panel panel-default">
		<div class="panel-heading">{{title}}</div>
		<form class="form-horizontal">
											<div class="form-group">
			   	<div class="col-sm-2 control-label">充值订单编号</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="rechargeOrder.rechargeOrderCode" placeholder="充值订单编号"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">用户id</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="rechargeOrder.userId" placeholder="用户id"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">充值类型 1 余额 2 月卡 3 年卡</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="rechargeOrder.rechargeType" placeholder="充值类型 1 余额 2 月卡 3 年卡"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">支付类型 1 余额 2 支付宝</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="rechargeOrder.payType" placeholder="支付类型 1 余额 2 支付宝"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">金额</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="rechargeOrder.money" placeholder="金额"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">创建时间</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="rechargeOrder.createTime" placeholder="创建时间"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">支付状态 1 未支付 2 已支付</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="rechargeOrder.payStatus" placeholder="支付状态 1 未支付 2 已支付"/>
			    </div>
			</div>
							<div class="form-group">
				<div class="col-sm-2 control-label"></div> 
				<input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
				&nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
			</div>
		</form>
	</div>
</div>

<script src="${request.contextPath}/statics/js/modules/sys/rechargeorder.js?_${.now?long}"></script>
</body>
</html>